FastActivator

Ecng.Common

Fast alternative to Activator.CreateInstance<T> for reference types with default constructor

Eigenschaften

CreateObject
public static Func<T> CreateObject { get; }
value = FastActivator.CreateObject

Create object handler.

NotSupported
public static bool NotSupported { get; set; }
value = FastActivator.NotSupported
FastActivator.NotSupported = value

Not supported mode.